package com.itheima;

import java.io.IOException;
import java.util.Properties;

public class Test {

    public static void main(String[] args) throws IOException {
        System.out.println("123");

        Properties prop = new Properties();
        prop.load(com.itheima.Test.class.getClassLoader().getResourceAsStream("test.properties"));

        String username = prop.getProperty("username");
        System.out.println(username);
    }
}
